@font-face {
/*
  font-family: "Ume P Mincho";
  src: url("/usr/share/fonts/truetype/umefont/ume-pmo3.ttf");
*/
 /* font-family: "VL PGothic"; */
/*src: url("/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf");*/

font-family: "IPA P Mincho";
src: url("/usr/share/fonts/truetype/ipafont/ipamp.otf");
}

@font-face {
  font-family: "monospace";
  src: url("/usr/share/fonts/truetype/umefont/ume-tmo3.ttf");
  /*src: url("/usr/share/fonts/truetype/ipafont/ipam.otf");*/

/*src: url("/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf");*/
/*src: url("/usr/share/fonts/truetype/ipafont/ipamp.otf");*/

}

@prince-pdf { 
  prince-pdf-page-mode: show-bookmarks;
}

@page {
  size: A4;
}

@page chapter {
  @top-left { font-family:"monospace"; font-size: 12pt; content: string(doctitle); }
  @top-right { content: counter(page) }
}

@page table-of-contents {
  @top-left { font-family:"monospace"; content: "目次"; }
  @top-right { content: counter(page, lower-roman); }
}

body {
  font-family: "IPA P Mincho";
}

pre {
  font-family: "monospace";
  white-space: pre-wrap;
}

code {
  font-family: "monospace"
  word-break: break-all;
}

span {
  font-family: "monospace";
}

h1#maintitle {
  prince-bookmark-level: 1;
  prince-bookmark-label: "表紙";
  text-align: center;
  position: relative;
  top: 10pt;
}


p#main-title-text {
  font-weight: bolder;
  font-size: 26pt;
  text-align: center;
  position: relative;
  top: 30pt;
}

div#table-of-contents {
  prince-bookmark-level: 1;
  prince-bookmark-label: "目次";
  page-break-after: avoid;
  page: table-of-contents;
}

h1 {
  string-set: doctitle content();
  page-break-before: always;
  prince-bookmark-state: closed;
}

div.chapter {
  page: chapter;
}

a:link, a:visited, a:hover, a:active { 
  text-decoration :none;
  color: black;
}

div.description {
  font-size: 8pt;
  text-align: center;
  position: relative; 
  top: 100px;
}

table.list {
  position: relative; 
  left: 160px;
  text-align: left;
}
